<?php if(isset($top)) echo $top?>
<?php echo $content ?>
<?php if(isset($bottom)) echo $bottom?>